package com.example.springbootsecurityjwt.service;

import com.example.springbootsecurityjwt.common.ResponseResult;
import com.example.springbootsecurityjwt.domain.User;

/**
 * @program: SpringBoot-Security-JWT
 * @description: 登录业务
 * @author: Coder_Pan
 * @create: 2022-03-22 13:02
 **/
public interface LoginServcie {
    //登录
    ResponseResult login(User user);
    //退出
    ResponseResult logout();
}
